public function onShutdown($graceful = false) { if ($this->pool) { return $this->pool->onShutdown(); } return true; }