void stop() {
    if (scheduledFuture != null) {
      scheduledFuture.cancel(true);
    }
  }
Stop the processor and cancel all the pending futures.
samza-core/src/main/java/org/apache/samza/table/batching/BatchProcessor.java