public function __destruct() { //JAXLLogger::debug("cleaning up xmpp socket..."); $this->disconnect(); }