onCompleted is async.