Revert progress event-handling order so that task.progress will be updated first before invoking progressClosure.