Update ThreadHandler.java