Fix progress percentage reported when tests fail during teardown.