Index: branches/5.2.x/core/units/helpers/curl_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/curl_helper.php
+++ branches/5.2.x/core/units/helpers/curl_helper.php
@@ -541,8 +541,6 @@
 			if ( $close_connection ) {
 				$this->CloseConnection();
 			}
-
-			$this->_resetSettings();
 		}
 
 		/**
@@ -567,6 +565,7 @@
 
 			// restore debug mode setting
 			$this->debugMode = kUtil::constOn('DBG_CURL');
+			$this->_resetSettings();
 		}
 
 		/**