rescue with_http_retries on SocketError