Fixed compile issue with serviceMutex.