KDbTestUtils: improve memory management of the connection object
This fixes possible use-after-free by KDbNativeStatementBuilder
GIT_SILENT
FIXED-IN:3.2.0