try to fix core from pthreads logging msgs.