When closing an OFTCPSocket, set it's internal socket to -1.