Added logic for rabbitmq reset