enum refactor, worker canceling handling