Update clientThread.java

Thread-safe am mache.