@Override
    public void memberDeparted(DistributionManager distributionManager,
        InternalDistributedMember id, boolean crashed) {
      // nothing
    }
New test hook which blocks before closing channel.
geode-core/src/distributedTest/java/org/apache/geode/distributed/LocatorDUnitTest.java