Update ThreadsServer.java