Have del(), at the end, run that 'run_scan'() proc, add the stuff to turn the PAC off into that proc if it fails ?