Move running flag into the important rescue body.