Refined code to reduce the memory leak. Issues lies with OLD GEN objects
at a suttle rate not being fully GCed back to normal levels.