Resolved bug in thread_join function.