Have you got any hooks in your program that might be detecting if the task manager is open?