protected function destroyConnector() { $this->socket->removeListeners('data'); $this->socket->removeListeners('close'); }