Update threadhandler.h