#56 Possible fix for memory leak detected in logs.