Mutex must be locked first