master and slave have their own rabbitmq connection