double counting the requested url to make sure the response isnt sent too early if phantomjs takes time to come back