protected function handleSignal(int $signo, $siginfo) : void
    {
        $this->log("Signal received: $signo", LOG_DEBUG, "syslog");
        if ($signo === SIGTERM || $signo === SIGINT || $signo === SIGQUIT) {
            $this->log("Termination signal received. Shutting down.", LOG_INFO, [ "syslog", STDOUT ], true);
            $this->shutdown();
        } elseif ($signo === SIGHUP) {
            $this->config->reload();
        }
    }