@Override
  public final void postTearDown() throws Exception {
    if (expectedEx != null) {
      expectedEx.remove();
    }
  }
Closes the cache on server and client
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/InterestResultPolicyDUnitTest.java