how do you decide when a broken flow should escalate to a human instead of self-heal ?