Wait for tasks then events (speculative fix for intermittent modern-yum failure)