To avoid infinite conversation without ever reaching the target, we set a maximum allowed number of turns, which is 8 in our experiment.
an agent that does not achieve the target after producing 8 responses is considered to fail in the case.