Haven't checked, but it looks like the current implementation will trip an AssertionError when used with eager_task_factory introduced in Python 3.12.
Will need to add test for it, and fix if fails.
Refer to cpython's fix for it:
https://github.com/python/cpython/blob/main/Lib/asyncio/staggered.py
python/cpython#124847
Also check out https://github.com/aio-libs/aiohappyeyeballs and see their solution.