[FIX] Worker must run in a managed environment for the new api