Move ResultSet.close to finally block