code: public function retry(JobInterface $job, array $options = [])
      {
          $tried = $job->getMetadata('mongoqueue.tries', 0) + 1;
          $job->setMetaData('mongoqueue.tries', $tried);
  
          $options['tried'] = $tried;
          $envelope = $this->createEnvelope($job, $options);
          unset($envelope['created']);
  
          $this->mongoCollection->findOneAndUpdate(
              [
                  '_id' => new \MongoDB\BSON\ObjectID($job->getId())
              ],
              [
                  '$set' => $envelope
              ]
          );
      }
docs: Reinsert the job in the queue.
  
  @see push()
  @param JobInterface $job
  @param array        $options