protected function findJobHandler(Job $job)
    {
        foreach ($this->handlers as $type => $handler) {
            if ($job->getHandlerType() == $type) {
                return $handler;
            }
        }
        
        throw new \OutOfBoundsException(\sprintf('Job handler "%s" not found for job %s', $job->getHandlerType(), $job->getId()));
    }