mod_netconf: connect/close, locking
diff --git a/src/mod_netconf.h b/src/mod_netconf.h
index 457de3c..b375403 100644
--- a/src/mod_netconf.h
+++ b/src/mod_netconf.h
@@ -70,6 +70,7 @@
 	apr_array_header_t *notifications;
 	json_object *hello_message;
 	char ntfc_subscribed; /**< 0 when notifications are not subscribed */
+	char closed;; /**< 0 when session is terminated */
 	apr_time_t last_activity;
 	pthread_mutex_t lock; /**< mutex protecting the session from multiple access */
 };