code: def stop_containers(self):
          
          while len(self._containers):
              container = self._containers.pop()
              try:
                  container.kill(signal.SIGKILL)
              except docker.errors.APIError:  # probably doesn't exist anymore
                  pass
docs: Stops all containers used by this instance of the backend.