static long measure(ThrowingRunnable task) throws Exception {
      long startNanos = System.nanoTime();
      task.run();
      return NANOSECONDS.toMillis(System.nanoTime() - startNanos);
    }
This tests that a deadlock between connection formation and connection pool closing has been
fixed. See GEODE-4615
geode-core/src/integrationTest/java/org/apache/geode/cache/client/internal/pooling/ConnectionManagerJUnitTest.java