ensure webdriver remote server is stopped on error