Replace RWMutex with Mutex