enable stop
diff --git a/include/sync-logic.h b/include/sync-logic.h
index ef63267..a4f2b41 100644
--- a/include/sync-logic.h
+++ b/include/sync-logic.h
@@ -129,6 +129,8 @@
   virtual void StopApplication ();
 #endif
   
+  void stop();
+
   void
   printState () const;
 
diff --git a/model/sync-logic.cc b/model/sync-logic.cc
index acb4d90..25b51ce 100644
--- a/model/sync-logic.cc
+++ b/model/sync-logic.cc
@@ -149,6 +149,14 @@
 }
 #endif
 
+void
+SyncLogic::stop()
+{
+  m_ccnxHandle->clearInterestFilter (m_syncPrefix);
+  m_scheduler.cancel (REEXPRESSING_INTEREST);
+  m_scheduler.cancel (DELAYED_INTEREST_PROCESSING);
+}
+
 /**
  * Two types of intersts
  *