protected function shutdown($signo = false)
    {
        $this->shutdown = true;
        $this->waitAll(true);
        Daemon::$shm_wstate->delete();
        file_put_contents(Daemon::$config->pidfile->value, '');
        posix_kill(getmypid(), SIGKILL);
        exit(0);
    }