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