Creating connection using AMQPClient takes one second

I’m comparing the AMQPClient in julia vs using pika in python based on the tutorials provided by RabbitMQ. I notice that creating a connection with pika is almost instantaneous:

connection = pika.BlockingConnection(pika.ConnectionParameters(host='localhost'))

but takes almost exactly 1 second i julia:

conn = connection(; virtualhost="/", host="")

I’ve tried different settings using the kwargs to connection but can not reduce the time. Any ideas how to reduce the connection time?