I've pushed a modified version, here's the list of changes: - rebased on top of current wine - removed some unneeded brackets - avoid StructuredTaskCollection:_Cancel forward declaration by reordering functions - change _Cancel behavior on tasks collections without any tasks (and add test for it)