Should unlock the mutex before returning.