NDN: Added method close.

Change-Id: I0dde343b751d7fdf2162afbc07a4d128c96fd0a1