Add Task::wait/try_wait() helpers, and remove old ones.