Exporting to .csv with thousands of incidents timing out