Fix rabbitmq worker bug in production.