Use with-connection in prepare-stmt.