public function gracefulShutdown() { if (!$this->route || $this->route->gracefulShutdown()) { $this->finish(); return true; } return false; }