More TCPConnection error handling