code: @PostConstruct
      public final void init() {
          this.cleanUpTimer = Executors.newScheduledThreadPool(1, timerTask -> {
              final Thread thread = new Thread(timerTask, "Clean up old job records");
              thread.setDaemon(true);
              return thread;
          });
          this.cleanUpTimer.scheduleAtFixedRate(this::cleanup, this.cleanupInterval, this.cleanupInterval,
                                                TimeUnit.SECONDS);
      }
docs: Called by spring on initialization.