Handling silly phantomjs failures