code: def quit(self):
          
          # Kill the driver
  
          def _quit():
              try:
                  self.driver.quit()
              except Exception, err_driver:
                  os.kill(self.driver_pid, signal.SIGKILL)
                  raise
              finally:
                  # Kill the display for this driver window
                  try:
                      if self.display:
                          self.display.stop()
                  except Exception, err_display:
                      os.kill(self.display_pid, signal.SIGKILL)
                      raise
          return self.execute_and_handle_webdriver_exceptions(_quit)
docs: Close driver and kill all associated displays