delete categories and dependencies with worker