code: private void notifyIfStopped() {
          if (isAcceptingNewJobs() || !this.runningTasksFutures.isEmpty()) {
              return;
          }
          final File stoppedFile = new File(this.workingDirectories.getWorking(), "stopped");
          try {
              LOGGER.info("The print has finished processing jobs and can now stop");
              stoppedFile.createNewFile();
          } catch (IOException e) {
              LOGGER.warn("Cannot create the {} file", stoppedFile, e);
          }
      }
docs: Add a file to notify the script that asked to stop the print that it is now done processing the remain
  jobs.