Added try-with-resources on ResultSet, too.