issues with taskmanager

The best thing to find out what’s wrong is at this point to install the debug symbols for this panda3d build (available from the devel download page, but make sure to grab the one matching your build!) run your program without threading, grab a debugger (like Visual Studio) and attach to your process when it’s hung.
Then you can break and observe the stack trace, so that we can see at which point it’s hung.