Always run garbage collection on TDDium

* TDDium is known to have intermittent errors when GC is turned off
* Add a check for TDDIUM env variable before delayed GC
Adjust GC logic