@Override
  public void waitToShutdown(long waitTime) throws InterruptedException {
    server.join(waitTime);
  }
the TcpHandler used for peer location
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/locator/MembershipLocatorImpl.java