[TIMOB-11671] Clear out unrequired variables at end of run
Merge pull request #5670 from vishalduggal/timob-11671

[TIMOB-11671] Clear out unrequired variables at end of run