The only way i see doing this is have a timer constantly check for new autoCAD instance and close them just keep track of "your" handle and dont close that one.

Also, not sure if this could work but you could use set parent to put the instance of autoCAD in your program and use my first method to clise any kther instance opened