Simply fix for garbage collection issue resolves #44