def quit signal = :SIGINT
      @networks.each do |network|
        network.transmit :QUIT, 'Got SIGINT?'
        network.disconnect
      end

      EventMachine.stop
    end
def quit signal = :SIGINT
      @networks.each do |network|
        network.transmit :QUIT, 'Got SIGINT?'
        network.disconnect
      end

      EventMachine.stop
    end
Try to gracefully disconnect from each network, unload all scripts and
 exit properly.

 @param [optional, Symbol] signal The signal received by the system, if any.