Update threadclient.cpp