public synchronized void gameFinished(Player winnerPlayer, List<Player> players) {

		if (firstPhaseElectionTask != null) {
			firstPhaseElectionTask.cancel();
			firstPhaseElectionTask = null;
		}
		if (secondPhaseElectionTask != null) {
			secondPhaseElectionTask.cancel();
			secondPhaseElectionTask = null;
		}
		if (lastWordTask != null) {
			lastWordTask.cancel();
			lastWordTask = null;
		}
		if (lastElectionTask != null) {
			lastElectionTask.cancel();
			lastElectionTask = null;
		}

		System.out.println("##################################################");
		System.out.println("Partita terminata, vincitore: " + winnerPlayer);
		System.out.println("##################################################");
	}