Update report.rb - fix possible memory leak when sending large reports.