clean pthread_join.