Update ThreadServer.java