Your options are:
- Wait until the cpython bug referenced in my previous comment has been fixed
- Use a Python version not affected by the bug, eg, 3.11
- Use a different WSGI server. See the Django docs for some options besides mod_wsgi.
Your options are: