fix amqp connectivity