Wrap lastContact in a RWMutex