[Python] Cannot connect to the shard db in python driver