Refactor: scheduler: functionize bringing resource to next role
... for code isolation and readability