relase tcp client and threadDown