Edited Client.java

Its now different from Worker. But I still get error from Worker while
running. Though Client seems to be fine.