title: Typhoeus does not close https connections
body: <p>I'm using Typhoeus to handle all of the HTTP calls to external APIs on my site, and it's been working beautifully up until recently. My Rails site started to be unresponsive after a while. I noticed that there're a ton of connections in the CLOSE_WAIT state when I do a netstat, and they're generated by the following piece of code.</p>
  
  <pre><code>  requests = []
    hydra = Typhoeus::Hydra.new
    urls.each_with_index do |url, index|
      request = Typhoeus::Request.new(url, :timeout =&gt; 5000)
      request.on_complete do |response|
        begin
          resp = JSON.parse(response.body)
  
          if resp["error"]
            p "no deal found for #{factual_ids[index]}"
            { :deals =&gt; nil }
          else
            { :deals =&gt; resp["merchant"]["deals"] }
          end
        rescue Exception =&gt; e
          p e.message
          { :deals =&gt; nil }
        end
      end
  
      requests &lt;&lt; request
      hydra.queue(request)
    end
  
    hydra.run
  </code></pre>
  
  <p>The only thing that I find different than how I am using Typhoeus in my other HTTP calls is that the urls above are all HTTPS urls. I don't know if that is of any significance but that's the only thing I can think of at this moment. Has anyone seen this before? Is there a option I can pass into Typheous to force close the connection once it's finished?</p>