diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp
index 9895d84a572fb9a6812f44f0dc6bdc6203e9aa2e..22310598b4ac775fbb58f462033aa1e4ede7ab3c 100644
--- a/sflphone-common/src/sip/sipvoiplink.cpp
+++ b/sflphone-common/src/sip/sipvoiplink.cpp
@@ -289,8 +289,8 @@ void SIPVoIPLink::decrementClients (void)
     if (_clients == 0) {
 
         _debug("UserAgent: No SIP account anymore, terminate SIPVoIPLink");
-        terminate();
-        SIPVoIPLink::_instance=NULL;
+        // terminate();
+        delete SIPVoIPLink::_instance;
     }
 }
 
@@ -321,8 +321,7 @@ SIPVoIPLink::terminate()
 
     if (_evThread) {
         _debug ("UserAgent: Deleting sip eventThread");
-        delete _evThread;
-        _evThread = NULL;
+        delete _evThread; _evThread = NULL;
     }