blocking hash map updates to resolve a deadlock