Gracefully handle lost webdriver connection.