Fixing #528 where /dev/pts/X is left open even after session.driver.quit