Protect map from concurrent access