Discontinue test if saucelabs api error occurs