close the webdriver when finished