modify rabbit reset order; close more connections

Discussion of bugs being avoided here: https://groups.google.com/forum/#!topic/rabbitmq-users/lrl0tYd1L38