fix: move _init_map to master thread to avoid empty table in connection stage.