code: def unjoin(self):
          
          self.debug("()")
          if self._joined.is_set():
              packet = APPUnjoinMessage(device_id=Id.NOT_SET)
              self._send_packet(self._server_ip, self._server_port, packet)
              self._joined.clear()
              self.info("Left the audience")
docs: Leave the local audience
  
          :rtype: None
          :raises SensorJoinException: Failed to leave