code: public int resetToPendingForWorker(DbSession session, String workerUuid) {
      return mapper(session).resetToPendingForWorker(workerUuid, system2.now());
    }
docs: Update all tasks for the specified worker uuid which are not PENDING to:
  STATUS='PENDING', STARTED_AT=NULL, UPDATED_AT={now}.