docs: public synchronized void stop() {
          if (scheduledFuture != null) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                  Tr.event(this, tc, "Scan task cancelled");
              }
              scheduledFuture.cancel(false);
              scheduledFuture = null;
          }
      }