Run SCT until it fails

run_until_fail(code)

Arguments

code

the SCT script to run as an expression