na_cci: destroy the endpoint in finalize

and silence a lot of unused var warnings