code: private void terminateConnectionsAssociatedWithChain() throws Exception {
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
              Tr.event(this, tc, "terminateConnectionsAssociatedWithChain");
          }
  
          ChannelFramework cfw = CommsClientServiceFacade.getChannelFramewrok();
          OutboundConnectionTracker oct = ClientConnectionManager.getRef().getOutboundConnectionTracker();
          if (oct != null) {
              oct.terminateConnectionsAssociatedWithChain(_chainName);
          } else {// if we dont have any oct that means there were no connections established
  
              if (cfw.getChain(_chainName) != null) {// see if chain exist only then destroy
                  // we have to destroy using vcf because cfw does not allow to destroy outbound 
                  // chains directly using cfw.destroyChain(chainname)
                  // as it is valid only for inbound chains as of now
                  cfw.getOutboundVCFactory(_chainName).destroy();
              }
          }
          ChainData cd = cfw.getChain(_chainName);
          if (cd != null) {
              cfw.removeChain(cd);
          }
          removeChannel(_tcpChannelName);
          if (_isSSLChain)
              removeChannel(_sslChannelName);
          removeChannel(_jfapChannelName);
  
      }
docs: Terminate all the connections associated with the chain
  
  @throws Exception