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