public function shutdown() { // we want to immediately remove // all references $this->onClose(); $this->transport->close(); }