private static Function<TimeoutException, TimeoutException> asyncTimeoutHandler(VM vm, long id) {
    return timeoutException -> {
      StackTrace stackTrace =
          vm.invoke(() -> {
            System.out.println(dumpThreads());
            return new StackTrace(vm.getId(), AsyncThreadId.get(id));
          });
      timeoutException.initCause(stackTrace);
      return timeoutException;
    };
  }
Returns the name of a {@code AsyncInvocation} based on its {@code targetObject} and
{@code methodName}.
geode-dunit/src/main/java/org/apache/geode/test/dunit/AsyncInvocation.java