added connection.close() to reportbuilder.models.Report.generate_report/