@Override
    public T call() throws Exception {
      synchronized (OneTaskOnlyExecutor.this) {
        future = null;
      }
      return callable.call();
    }
Removes the canceled tasks from the executor queue.
geode-core/src/main/java/org/apache/geode/internal/OneTaskOnlyExecutor.java