Raise exception when at least one thread crashes