added driver.quit() before driver.exit()