force phantomjs.exit on error