ISPN-2538 Endless loop in TreeMap.remove at shutdown of query-enabled
cache

* Changed map to be synchronized