How to take a thread dump in the Enterprise manager when it is running as a Windows service