only use $digest if not in progress

only use $digest if not in progress; #15