Restarting phantomjs before retry, if it crashed while test execution