can embed RWMutex because of gob encoding