clean-up connections in dao layer
[#15]
added update to the queues db
[#15]