add explicit garbage collection

My hard drive fills up with temp files,
hopefully this fixes that