protected function _Diconnect() { if ($this->_IOSock) { curl_close($this->_IOSock); } parent::_Diconnect(); }