closing of rabbitmq connections