[#2212] CID49413:

Unlock mutex on exit