title: Prevent phantomjs from raising Capybara::Poltergeist::StatusFailError when requesting never ending assets
body: <p>I am having some issues with <code>Capybara::Poltergeist::Driver</code></p>
  
  <p>When I visit the the following url with poltergeist, I am exerpiencing an issue where an asset that seemingly doesn't exist takes for ever to load and eventually an error gets raised: <a href="https://www.feinstein.senate.gov/public/index.cfm/e-mail-me" rel="nofollow noreferrer">https://www.feinstein.senate.gov/public/index.cfm/e-mail-me</a></p>
  
  <pre><code>$ brew install phantomjs
  $ gem install capybara -v 2.17.0
  $ gem install poltergeist -v 1.7.0
  $ gem install selenium-webdriver -v 2.53.4
  </code></pre>
  
  <p>Then in irb:</p>
  
  <pre><code>require 'capybara/poltergeist'
  
  module Drivers
    class Poltergeist &lt; Capybara::Poltergeist::Driver
      def needs_server?
        false
      end
    end
  end
  
  Capybara.register_driver :poltergeist_errorless do |app|
    options = ['--load-images=no', '--ignore-ssl-errors=yes', '--ssl-protocol=any', '--disk-cache=true', '--max-disk-cache-size=500000']
    Drivers::Poltergeist.new(app, js_errors: false, phantomjs_options: options)
  end
  
  session = Capybara::Session.new(:poltergeist_errorless)
  session.visit('https://www.feinstein.senate.gov/public/index.cfm/e-mail-me')
  </code></pre>
  
  <p>After 10-20 seconds, the request fails, and I get back a <code>Capybara::Poltergeist::StatusFailError</code> exception with a message that says:</p>
  
  <blockquote>
    <p>Request to '<a href="https://www.feinstein.senate.gov/public/index.cfm/e-mail-me" rel="nofollow noreferrer">https://www.feinstein.senate.gov/public/index.cfm/e-mail-me</a>' failed to reach server, check DNS and/or server status - Timed out with the following resources still waiting <a href="https://sdc1.senate.gov/NEED_VALUE/wtid.js" rel="nofollow noreferrer">https://sdc1.senate.gov/NEED_VALUE/wtid.js</a></p>
  </blockquote>
  
  <p>But if I then call:</p>
  
  <pre><code>session.save_screenshot('/tmp/sc.png', full: true)
  </code></pre>
  
  <p>the outputted screenshot is shows that the rest of the page loaded just fine. If this were any other browser, it would just continue to function happily without worrying about an asset that is taking forever to load.</p>
  
  <p>Is there anyway to configure phantomjs to not wait for this asset and to not raise this exception?</p>