Fix some reliability issues with the progress API.