Catch another exception - socket.error occurs for a HTTPS "Connection reset by peer".