protected function flushQueue() : bool
    {
        foreach (array_keys($this->jobQueues) as $jobName) {
            $this->jobQueues[$jobName] = [];
        }
        $this->jobsInQueue = 0;
        return true;
    }