thread_join() the -ex process if THREAD_JOIN_IMPLEMENTED.