public void clear() {
    toInvoke.clear();
    futures.clear();
    errorCollector = new ProtectedErrorCollector();
    allThreadsExecuted.set(true);
  }
Clears the lists of callables, futures, and errors. Use between calls to execute methods to
avoid rerunning and rethrowing callables from the previous executions.
geode-junit/src/main/java/org/apache/geode/test/junit/rules/ConcurrencyRule.java