Added completed_jobs queue to avoid racing condition reported by Lukas
Added completed_jobs queue to avoid racing condition reported by Lukas

mlassnig/pilot2,mlassnig/pilot2,PalNilsson/pilot2,PalNilsson/pilot2