code: public void waitAndRetry() {
          ContinueToSendToBatchSenderAsstManager continueToSendToBatchSenderAsstManager = new ContinueToSendToBatchSenderAsstManager(
                  processedWorkerCount);
  
          logger.debug("NOW WAIT Another " + asstManagerRetryIntervalMillis
                  + " MS. at " + PcDateUtils.getNowDateTimeStrStandard());
          getContext()
                  .system()
                  .scheduler()
                  .scheduleOnce(
                          Duration.create(asstManagerRetryIntervalMillis,
                                  TimeUnit.MILLISECONDS), getSelf(),
                          continueToSendToBatchSenderAsstManager,
                          getContext().system().dispatcher(), getSelf());
          return;
      }
docs: Wait and retry.