Fixes for single-run tasks in TaskMgr, ResourceMgr.