quit the  instrument thread

def quit(self, *args, **kwargs):  # real signature unknown
        """
        quit the  instrument thread
        """
        self.stop()
        self._stop = True
        self.msleep(2* int(1e3 / self.settings['update frequency']))
        super(Plant, self).quit(*args, **kwargs)