Error handling for XmlOverTcpClient.