Cleaning NPT
diff --git a/nlsr_sync.c b/nlsr_sync.c
index 672341a..548890e 100644
--- a/nlsr_sync.c
+++ b/nlsr_sync.c
@@ -642,12 +642,13 @@
 	if (blockread > 0) {
 		res = ccn_seqw_write(w, data, blockread);	
 		while (res == -1) {
+			ccn_run(temp_ccn,1);
 			res = ccn_seqw_write(w, data, blockread);
 		}
 	}
 
-	ccn_seqw_close(w);
-	ccn_run(temp_ccn, 100);
+	
+	ccn_run(temp_ccn, 1);
 	ccn_charbuf_destroy(&name);
 	ccn_destroy(&temp_ccn);