Simplification to the progress callback check. On branch removed. FossilOrigin-Name: 24ef16548eebcdb9d8b40308f6a16dabf8f8d474