Fix node shutdown on amqp connection failure