The cmm_disconnect() function closes the connection
between the current calling process and the nhcmmd daemon.
This frees the resources allocated to the client connection. Notifications
are no longer managed by the library. If notifications were registered before
this function was called, they are no longer sent.
The connection is automatically re-established and resources reallocated
when a function that needs the connection is called. However, the configuration
of the notifications (callback function, filters, etc) is not recreated. You
must reconfigure the notification registration.
Note If an application or service calls cmm_disconnect()
when a cmm_notify_dispatch() call is being executed, the cmm_notify_dispatch() call is terminated.