Quit driver instances cleanly

WebDriver.close() will only close the current window, which may or may not quit the browser. Calling WebDriver.quit() ensures that the browser quits as expected, and is also the signal that the remote server is waiting for to release resources allocated to the session (eg: references to WebElements and so on)