remove is_terminated() in joinable()