'coroutine' object has no attribute 'timeout' error in JupyterLab

I’ve got an issue I was unable to find any mentions about elsewhere.
After opening a web page with a started JupyterLab instance, when connecting to a kernel, the terminal I launched JupyterLab from (either cmd or PowerShell) shows a Python error related to the tornado package:

Спойлер
Exception in callback _HandlerDelegate.execute.<locals>.<lambda>(<Task finishe...e 'timeout'")>) at C:\Python312\Lib\site-packages\tornado\web.py:2438
handle: <Handle _HandlerDelegate.execute.<locals>.<lambda>(<Task finishe...e 'timeout'")>) at C:\Python312\Lib\site-packages\tornado\web.py:2438>
Traceback (most recent call last):
  File "C:\Python312\Lib\asyncio\events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Python312\Lib\site-packages\tornado\web.py", line 2438, in <lambda>
    fut.add_done_callback(lambda f: f.result())
                                    ^^^^^^^^^^
AttributeError: 'coroutine' object has no attribute 'timeout'

The JupyterLab instance is still working. I can write and execute code, create files, etc. However, I cannot use the extension manager. Blocks “Installed”, “Discover” / “Search results” don’t show any extensions but always display “Updating extensions list…”. Every time I access the extension manager the same error shows up again. It also seems to show up upon saving a notebook. I’m a beginner in Jupyter so I’ve got no idea how badly this weird error will impact the functionality of JupyterLab.