Cleaned up the BrowserLifecycle tear down that fixes issues with shutting down webdriver