OFTCPSocket: Properly close socket on error