private void destroyGatewaySenderLockService() {
    if (DistributedLockService.getServiceNamed(AbstractGatewaySender.LOCK_SERVICE_NAME) != null) {
      try {
        DistributedLockService.destroy(AbstractGatewaySender.LOCK_SERVICE_NAME);
      } catch (IllegalArgumentException ignore) {
        // DistributedSystem.disconnect may have already destroyed the DLS
      }
    }
  }
Destroys the GatewaySender distributed lock service when closing the cache. Caller must be
synchronized on this GemFireCache.
geode-core/src/main/java/org/apache/geode/internal/cache/GemFireCacheImpl.java