Rename thread_finished to thread_get_finished