Before exiting, a Monitor Client Library application must:
Close all open connections.
Deallocate each connection.