[SSSD] [PATCH] Release mutex if a thread gets cancelled