old_contents: import requests.adapters
  
  
  class BaseHTTPAdapter(requests.adapters.HTTPAdapter):
      def close(self):
          self.pools.clear()
  
new_contents: import requests.adapters
  
  
  class BaseHTTPAdapter(requests.adapters.HTTPAdapter):
      def close(self):
          super(BaseHTTPAdapter, self).close()
          if hasattr(self, 'pools'):
              self.pools.clear()
  
subject: Fix BaseHTTPAdapter for the SSL case