NXCM-5029 explicitly close NamingEnumeration to avoid resource leaks

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>