bug-18860: jalauditd crashes on rhel 6 due to pthread_cancel on invalid thread