@Override
      public void memberDeparted(DistributionManager distributionManager,
          InternalDistributedMember id, boolean crashed) {
        if (memberId.equals(id)) {
          synchronized (lock) {
            lock.notifyAll();
          }
        }
      }
Register a <code>MemberhipListener</code>, wait until the member is gone.
geode-core/src/main/java/org/apache/geode/internal/cache/TXFarSideCMTracker.java