public void waitForClientToStart() throws IOException {
        while (true) {
            String msg = inStream.readLine();
            if ("START".equals(msg)) {
                break;
            }
        }
    }