catch failed processes