Don't kill webdriver before the browser has exited

Doing that causes the browser.exit to fail and stops the file executing further.