public function delete(Job $job)
 {
     if (!$job instanceof BeanstalkJob) {
         throw new WrongJobException('Beanstalk manager can only delete beanstalk jobs');
     }
     try {
         $this->pheanstalk->delete($job->getId());
     } catch (ServerException $e) {
         throw new NoSuchJobException("Error deleting job", 0, $e);
     }
 }