Update ThreadHandler.h