Changed it to use ConcurentHashMap