Changed to ActiveJobs wait syntax