private function init($force = false)
    {
        if (!function_exists('pcntl_signal') || ($this->initialized && !$force)) {
            return;
        }
        $this->initialized = true;
        pcntl_signal(SIGCHLD, array($this, 'signalHandler'));
    }