I just tell it to work until described result. It works unless it gets stuck at a necessary step I had explicitly forbade earlier, or an unreachable port.