NXP-10865: dispose session after commiting the current tx