try to catch psh errors. update all unfinished tasks to build failures