nspi: dont free global tdb

Refactorization of some code and the only important line is where we do not release `emsabp_tdb_ctx` on couple error scenarios.