catch exception if something is deleted mid-run