protected void beforeExecute() {
    if (threadMonitoring != null) {
      threadMonitoring.startMonitor(ThreadsMonitoring.Mode.OneTaskOnlyExecutor);
    }
  }
Removes the canceled tasks from the executor queue.
geode-core/src/main/java/org/apache/geode/internal/OneTaskOnlyExecutor.java