code: public final void cancel ()
      {
          IntervalTask task = _task;
          if (task != null) {
              _task = null;
              task.cancel();
          }
      }
docs: Cancel the current schedule, and ensure that any expirations that are queued up but have not
  yet run do not run.