I've pinned ipykernel==6.* in my project and I haven't had this hanging issue since, going on weeks now. That seems to be the key, as I am using Jupyter extension 2025.9.1 without having to downgrade.