@Override
  public void waitForInProcessDepartures() throws InterruptedException {
    synchronized (stateLock) {
      while (processingDepartures) {
        stateLock.wait();
      }
    }
  }
Handles departure of lessor (lease holder) by sending a message asking each participant if it's
ok to release the leases. Upon receipt of all replies the lease will be automatically released.
geode-core/src/main/java/org/apache/geode/internal/cache/locks/TXLessorDepartureHandler.java