docs: def close(self):
          """Close the AVR device connection and don't try to reconnect."""
          self.log.warning('Closing connection to AVR')
          self._closing = True
          if self.protocol.transport:
              self.protocol.transport.close()