tracked down memory leak (nc_close) w/ Luke's guidance