Close GenerateKeyResultSet in finally block