wait() returns a Result