protected void cleanup() {
    if (singleThreadJTAExecutor.shouldDoCleanup()) {
      singleThreadJTAExecutor.cleanup();
    } else {
      doCleanup();
    }
  }
Note that cleanup does more than is needed in this method. This method only needs to do stuff
that is required when a Cache close is done and we have txs that are still in progress.
Currently the only thing that is needed is to decrement off-heap refcounts since off-heap
memory lives after a cache close.
geode-core/src/main/java/org/apache/geode/internal/cache/TXState.java