code: private void unschedule() {
          synchronized (mutex) {
              if (pendingFuture != null && !pendingFuture.isDone() && !pendingFuture.isCancelled()) {
                  Log.v(Log.TAG_BATCHER, "%s: cancelling the pending future ...", this);
                  pendingFuture.cancel(false);
              }
              scheduled = false;
          }
      }
docs: Unschedule the scheduled batch processing.