[progress] fix async progress bar

Previously the calculation was wrong and returned 0 mostly. Now it
should be fixed.
Status Job ID Name Coverage
  Test
canceled #3196
deps

canceled #3197
test