Synchronize HashSet which is vulnerable to corrupting its backing HashMap under load
Change HashMap to ConcurrentHashMap to prevent corruption when accessed concurrently
Merge pull request #197 from jlmorton/master

Synchronize HashSet which can become corrupted under load (JIRA Issue #2438)