private function clearConnectionPool() { $deleted = $this->connectionPool->removeInvalid(); foreach ($deleted as $deletedid) { $this->emit('disconnect', [$deletedid]); } }