Added Call to Garbage Collector

Added call to garbage collection to attempt to address memory issues.