the connection was forcibly closed by the remote host code example
Example: Http Client An existing connection was forcibly closed by the remote host
System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;