@Override
          public void run() {
            while (!cache.isClosed()) {
              Wait.pause(100);
            }
            try {
              cache = (InternalCache) new CacheFactory(props).create();
              System.err.println(
                  "testReconnectCollidesWithApplication failed - application thread was able to create a cache");
            } catch (IllegalStateException cacheExists) {
              // expected
            }
          }
bug #51335 - customer is also trying to recreate the cache
geode-core/src/distributedTest/java/org/apache/geode/cache30/ReconnectDUnitTest.java