Close any previous generated keys ResultSet before assigning a new value