The code currently seems to *assume* it will never be accessed by multiple event loops at the same time. I have made [a minimal reproduction of the issue](https://github.com/user-attachments/files/21707969/test_janus_failure.py.txt).
The code currently seems to assume it will never be accessed by multiple event loops at the same time.
I have made a minimal reproduction of the issue.