def METHOD_NAME(rank, world_size, port, backend, port_list, host):
    for config_path, current_port in zip(CONFIG_PATH_LIST, port_list):
        init_context(config_path=config_path,
                     rank=rank,
                     world_size=world_size,
                     backend=backend,
                     port=current_port,
                     host=host)
        reset_seeds()