Mavproxy connect using Python Script

Hi, we connect to two vehciles using Mavproxy & Python script. When we connect it takes a very long time to connect (up to 5 minutes) using standard 900MHz telemetry radios. When we use Mission Planner or Mavproxy bash script, the connection is very fast. What is happening with the Python modules?

Sample code below.

import collections
import collections.abc
collections.MutableMapping = collections.abc.MutableMapping
from dronekit import connect, VehicleMode, LocationGlobalRelative
import time
import threading
from math import sqrt

# Connect to the first instance (SYSID_THISMAV 1)
vehicle1 = connect('tcp:127.0.0.1:5762', wait_ready=True, source_system=1)
print("Connected to vehicle1")

# Connect to the second instance (SYSID_THISMAV 2)
vehicle2 = connect('tcp:127.0.0.1:5772', wait_ready=True, source_system=2)
print("Connected to vehicle2")

print("Connected to all vehicles!")