private synchronized void sendStopRequests(List<Move> previousMoves) throws InterruptedException {
List<StopRequestThread> threads = new ArrayList<StopRequestThread>(hosts.size());
for (int i = 0; i < hosts.size(); i++) {
if (!playerPlaysRandomly[i]) {
threads.add(new StopRequestThread(this, match, previousMoves, stateMachine.getRoles().get(i), hosts.get(i), ports.get(i), getPlayerNameFromMatchForRequest(i)));
}
}
for (StopRequestThread thread : threads) {
thread.start();
}