Bugfix: integrate conn_adapter into the worker

Even if the worker will be responsible for many queues, it should
not maintain a seperate database connection for each queue.