private void processLogout() { // resetLogout
        try {
            if (socketStream != null) {
                socketStream.close();
            }
        } catch (Exception exception) {
        }
        socketStream = null;
        loggedIn = false;
        loginScreenState = 0;
        // myUsername = "";
        // myPassword = "";
        clearCache();
        sceneGraph.reset();
        for (int i = 0; i < 4; i++) {
            collisionMaps[i].reset();
        }
        System.gc();
        stopMidi();
        currentSong = -1;
        nextSong = -1;
        prevSong = 0;
    }