Add explicit garbage collection