code: @Override
      public void serverStopping() {
          // If the system is configured to quiesce connections..
          long timeout = chfw.getDefaultChainQuiesceTimeout();
          if (timeout > 0) {
              ChainData[] runningChains = chfw.getRunningChains();
  
              // build list of chain names to pass to stop, use ChannelUtils.stopChains so as to not return until the
              // channels are inactive or the quiesce timeout has hit.
              List<String> names = new ArrayList<String>();
              for (int i = 0; i < runningChains.length; i++) {
                  if (FlowType.INBOUND.equals(runningChains[i].getType())) {
                      names.add(runningChains[i].getName());
                  }
              }
  
              ChannelUtils.stopChains(names, -1, null);
  
          }
      }
docs: When notified that the server is going to stop, pre-quiesce all chains in the runtime.
  This will be called before services start getting torn down..
  
  @see com.ibm.wsspi.kernel.service.utils.ServerQuiesceListener#serverStopping()