Don't commit transaction until we're done with ResultSets.

A legal JDBC implementation may close result sets upon commit.