public async Task PlayAll() { var outstanding = _outstandingJobs.ToArray(); foreach (var job in outstanding) { await _channel.Send(job.Envelope); job.Cancel(); } }