code: def destroy(self):
          
          try:
              self.lock()
              _logger.debug("Unlocked connection %r to close.", self.container_id)
              self._close()
          finally:
              self.release()
          uamqp._Platform.deinitialize()
docs: Close the connection, and close any associated
          CBS authentication session.