public function getWork(Employee $employee)
    {
        $job = $this->pipeline->dequeue($employee->getOptions());

        if (is_null($job)) {
            usleep(10000);
        }

        return $job;
    }