protected void stompProxyDead() {
    Runnable stomper = () -> {
      PoolImpl bpi = proxy;
      if (bpi != null) {
        try {
          bpi.destroy();
        } catch (Exception e) {/* ignore */
        }
      }
    };
    Thread t = new LoggingThread("GatewaySender Proxy Stomper", stomper);
    t.start();
    try {
      t.join(GATEWAY_SENDER_TIMEOUT * 1000);
      return;
    } catch (InterruptedException e) {
      Thread.currentThread().interrupt();
    }

    logger.warn("Gateway <{}> is not closing cleanly; forcing cancellation.", this);
    // OK, either we've timed out or been interrupted. Time for
    // violence.
    t.interrupt(); // give up
    proxy.emergencyClose(); // VIOLENCE!
    proxy = null;
  }
Set GatewayEventFilters for this GatewaySender.

Care must be taken to set this consistently across all gateway senders in the cluster and only
when safe to do so.

@since Geode 1.15
geode-core/src/main/java/org/apache/geode/internal/cache/wan/AbstractGatewaySender.java