@Override
    public void connectionRemoved(Server server, HostedConnection conn) {
        lock.lock();
        try {
            connectedPlayers--;
            System.out.println(connectedPlayers + " players connected. " + (neededPlayers - connectedPlayers)
                    + " more to go.");
        } finally {
            lock.unlock();
        }
    }