def disconnect
      channels.each do |chan|
        chan.close
      end

      connections.each do |conn|
        conn.disconnect
      end
    end
def disconnect
      channels.each do |chan|
        chan.close
      end

      connections.each do |conn|
        conn.disconnect
      end
    end
Close all channels and then disconnect all the connections.

 @return []
 @api public