Fix for parallel not waiting for remaing jobs if one of the jobs failed