Exit the library

The COM extension library will exit when you close the application.