fixed _reset by adding a driver.close()