public void run() { while (true) { try { client.handle(streamIn.readUTF()); } catch (IOException ioe) { System.out.println("Server disconnected. Come back latter."); client.stop(); } } }