Rework task refreshing and handle losing tasks gracefully
Fix final "test -race" failure