docs: def clear(self) -> None:
          """
          Closes all running containers.
          """
          logger.debug("clearing all running containers")
          all_uids = [uid for uid in self.__containers.keys()]
          for uid in all_uids:
              try:
                  del self[uid]
              except KeyError:
                  # Already deleted
                  pass
          logger.debug("cleared all running containers")