Wrap the db connection and statement passed to Use delegate functions, to preven the connection/statements from being disposed, etc.