/** * Stop listening */ public function shutdown() { $this->io->shutdown(); $this->observable->notifyCompleted(); }