Fixed Beanstalkd usage in the worker.