http: handle socket.error leaks from requests fallback