<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def quit(self):
 """Close driver and kill all associated displays """

        # 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)