[taskmgr] skip finished processes (fixes #294)