cec: make sure we're not trying to unlock the mutex too many times