Visual Studio 2022 halt fix

Is there any fix for Visual Studio halting on stop debugging?
Very often when I stop debugging it just halts then a message appears to manually stop debbugging
Is it known what’s the reason for that and what is the fix if any?

I’ve found that Visual Studio slows down a lot and becomes unusable if there are too many break points (even if they don’t trigger). I frequently use Debug/Delete All Breakpoints and it seems to fix it. If it’s not lots of break points then it might be some kind of async task issue.