Not quite following, why do you close it here? What was that TCPSocket for?