thread-tcpsocket bug fixed