private static void disconnectOnly(int player) {
        if (socket[player] != null) {
            Debug.p("Server: Player " + player + " (" + names[player] + ") disconneced");
            if (serverListeningThreads[player] != null) {
                serverListeningThreads[player].interrupt();
            }
            try {
                socket[player].close();
            } catch (IOException ex) {}
            socket[player] = null;
            ois[player] = null;
            oos[player] = null;
        }
        try {
            fileSocket[player].close();
            fileSocket[player] = null;
        } catch (IOException | NullPointerException ex) {}
    }