Eh, not recursion. Self-reflection. Monitoring the state of the execution, and taking the action to guide it towards the desired outcome.