docs: def stop(self) -> None:
          """
          Stop monitoring the base unit.
          """
  
          self._shutdown = True
  
          # Close connection if needed
          self._protocol.close()
  
          # Cancel any pending tasks
          self.cancel_pending_tasks()