code: def stop(self):
          
  
          for tile in self._tiles.values():
              tile.signal_stop()
  
          for tile in self._tiles.values():
              tile.wait_stopped()
  
          super(TileBasedVirtualDevice, self).stop()
docs: Stop running this virtual device including any worker threads.