Improved rabbit mq connection management