private void actionDisconnectFromAll() {
        Component[] array = MainWindow.getInstance().getTabContainer().getComponents();
        for (int i = 0; i < array.length; i++) {
            Component component = array[i];
            if (component instanceof ServerTab) {
                ServerTab c = (ServerTab) component;
                InputHandler.handleQuit(c, null);
            }
        }
    }