scheduler: fix - unused deferred return value raising AssertionError