diff --git a/src/useragent.cpp b/src/useragent.cpp
index 75cf6418c12154c405f1152219364fa7be4b11db..99fca8b8a97f63707e9414bdcd060fa4fd8ae834 100644
--- a/src/useragent.cpp
+++ b/src/useragent.cpp
@@ -426,7 +426,7 @@ bool UserAgent::addAccount(AccountID id, pjsip_regc **regc2, const std::string&
     status = pjsip_regc_send(regc, tdata);
     if (status != PJ_SUCCESS) {
         _debug("UserAgent: Unable to send regc request.\n");
-        pj_mutex_unlock(_mutex);
+        //pj_mutex_unlock(_mutex);
         return false;
     }