Fix key does not exist error

refs: 4076

Change-Id: If3569c4620f04b9ef51fa912d865f27c77a42004
diff --git a/ndn/nlsr.py b/ndn/nlsr.py
index ab8c1dd..54a6a3c 100644
--- a/ndn/nlsr.py
+++ b/ndn/nlsr.py
@@ -31,6 +31,7 @@
 import os
 import textwrap
 from subprocess import call
+import time
 
 NETWORK="/ndn/"
 
@@ -45,9 +46,8 @@
         node.cmd("mkdir %s" % self.logDir)
 
     def start(self):
-        # Removed & at the end, was giving key not found error
-        # This way NLSR is daemonized fully before continuing
-        NdnApplication.start(self, "nlsr -d -f {}".format(self.confFile))
+        NdnApplication.start(self, "nlsr -f {} > /dev/null 2>&1 &".format(self.confFile))
+        time.sleep(1)
 
     @staticmethod
     def createKey(host, name, outputFile):