Fix bug where Selenium was leaving command windows open after test runs