Cleanup HAPI when Maya is exiting
Cleanup HAPI when Maya is exiting

This is needed when using out-of-process in Maya 2018 on Windows.
Normally, HARS would exit after Maya exits. However, in Maya 2018 on
Windows, Maya tries to wait for HARS to exit, which leads to a deadlock.

sideeffects/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya