making RunCommand clean up after itself a little better in regards to WebDriver