reset rabbit connections before the vhost; stop queueconsumers before resetting connections

(avoiding bugs documented here https://groups.google.com/forum/#!topic/rabbitmq-users/lrl0tYd1L38)