Fix handleTCP, sockets close fine now.