Queues, timers, and task groups in Swift