null safe on webdriver close