Fixed phantomjs hang for some urls