public void releaseDistributed(InternalDistributedSystem system) {
    if (distLockId != null) {
      try {
        TXLockService txls = TXLockService.createDTLS(system);
        txls.release(distLockId);
      } catch (IllegalStateException ignore) {
        // IllegalStateException: TXLockService cannot be created
        // until connected to distributed system
        // could be thrown if a jvm is disconnected from the ds,
        // and tries to createDTLS() during clean up
      }
      distLockId = null;
    }
  }
Release any distributed locks obtained by this request
geode-core/src/main/java/org/apache/geode/internal/cache/TXLockRequest.java