exit program when amqp disconnects