If all the threads are idle then you could exit all of them; this makes sense if they're using async system calls. The OS would just create a new thread in the process to resume it again.
Of course, there's a lot of tradeoffs between that and just keeping an idle thread around.
7000+ threads does seem like a lot though and agree there is the general lack of caring about resource consumption in all forms, eg Electron apps. At this point having lots of threads seems almost expected by various OSs and something they solve for to reduce the cost of it so the user doesn't have to worry about it.