Added shutdown method
diff --git a/ndn-cpp/face.cpp b/ndn-cpp/face.cpp
index 4fa2325..d5c174b 100644
--- a/ndn-cpp/face.cpp
+++ b/ndn-cpp/face.cpp
@@ -25,6 +25,11 @@
   transport_->send(*encoding);
 }
     
+void Face::shutdown()
+{
+  transport_->close();
+}
+
 void Face::onReceivedElement(unsigned char *element, unsigned int elementLength)
 {
   BinaryXmlDecoder decoder(element, elementLength);