BZ-1110794: avoiding concurrency problem using a concurrent hash set