Improved connection management on rabbitmq broker.