We can't set the status to Ready before task.Wait succeed. Signed-off-by: Abel Feng <fshb1988@gmail.com>
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>