doc BUGFIX many doxygen comment updates and fixes
diff --git a/src/session_client.c b/src/session_client.c
index 206d7b6..3f92af0 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -1048,6 +1048,11 @@
         msgtype = nc_recv_notif(session, 0, &notif);
         if (msgtype == NC_MSG_NOTIF) {
             notif_clb(session, notif);
+            if (!strcmp(notif->tree->schema->name, "notificationComplete")
+                    && !strcmp(notif->tree->schema->module->name, "nc-notifications")) {
+                nc_notif_free(notif);
+                break;
+            }
             nc_notif_free(notif);
         }