Check state before restarting in #match_and_run

In case the block wants to stop the runner.