Fix concurrent access to the map.