b/17000469  Allow completion of tasks within a task group in bulk

Stylistically, I'm not in favor of making basic function declarations with ```var``` at the top and later binding.  Why not just use ```function force_refresh_chain``` here?