protect Container methods with RWMutex