public static void signalCacheClose() {
    isCacheClosing = true;
    if (proctor != null) {
      proctor.interrupt();
    }
    if (watchDog != null) {
      watchDog.interrupt();
    }
  }
Should be invoked when GemFire cache is closing or closed.
geode-core/src/main/java/org/apache/geode/SystemFailure.java