docs: def jobs(self):
          '''Generator for all the jobs'''
          # If we should resume work, then we should hand those out first,
          # assuming we can still heartbeat them
          for job in self.resume:
              try:
                  if job.heartbeat():
                      yield job
              except exceptions.LostLockException:
                  logger.exception('Cannot resume %s' % job.jid)
          while True:
              seen = False
              for queue in self.queues:
                  job = queue.pop()
                  if job:
                      seen = True
                      yield job
              if not seen:
                  yield None