Attempt to kill the Thread in tcp