private int startLocator() throws Exception {
    Locator locator = Locator.startLocatorAndDS(0, new File(""), properties);
    system = (InternalDistributedSystem) locator.getDistributedSystem();
    return locator.getPort();
  }
This was a bug where SSL connections were being configured with a timeout that was non-zero,
but didn't handle socket timeouts. This resulted in a permanently hung P2P socket.

We set the lease time to 1000, which in that case would cause the socket to break in 1 second.
geode-core/src/distributedTest/java/org/apache/geode/internal/tcp/TCPConduitDUnitTest.java