int times= 0;
System.out.println("Waiting for " + status);
    protected static void waitFor(String status) {        int times= 0;        for (int i= 0; i < SERVER_COUNT; i++) {            if (servers.get(i).getStatus().equals(status)) continue;                        times++;            try {                Thread.sleep(100);            } catch (InterruptedException e) {                 if (times > SERVER_COUNT * 10) {                    fail(e.getMessage());                }            }        }        System.out.println("All listeners now in " + status);    }