thread_utils not needed by pblog
Fixed memory leaks