Actually implement what the comment says: we want to cap the progress at 99% so we wait for the request to complete with 200 before going to 100%.