worker with resource limit