public function onShutdown(Server $server): void
    {
        $this->fire(ServerEvent::SHUTDOWN, $server);

        $this->log("The swoole master process(PID: <info>{$server->master_pid})</info> stopped.");

        // self::addStat('stop_time', microtime(1));
    }