Add shutdown wrapper
diff --git a/src/ccnx/sync-socket.cc b/src/ccnx/sync-socket.cc
index 3ef1c96..f70f6ba 100644
--- a/src/ccnx/sync-socket.cc
+++ b/src/ccnx/sync-socket.cc
@@ -46,7 +46,9 @@
 }
 
 SyncSocket::~SyncSocket()
-{}
+{
+  m_handler->shutdown();
+}
 
 bool 
 SyncSocket::publishData(const std::string &prefix, uint32_t session, const char *buf, size_t len, int freshness)
diff --git a/src/sync-logic.cc b/src/sync-logic.cc
index f40a36c..b346739 100644
--- a/src/sync-logic.cc
+++ b/src/sync-logic.cc
@@ -129,6 +129,7 @@
 SyncLogic::~SyncLogic ()
 {
   m_handler->clearInterestFilter (Name(m_syncPrefix));
+  m_handler->shutdown();
 }
 
 #ifdef NS3_MODULE