NXP-15211 don't close mapper in non-connected
NXP-15211 automatic database tear-down on runtime shutdown