Fix stuck thread on hashmap https://issues.apache.org/jira/browse/TILES-599 Patch by shakeelabbas1 This closes #16