def METHOD_NAME(i):
    # stop if already start
    machines[i].run('tmux send-keys -t python-rc C-c')
    time.sleep(2)
    machines[i].kill_detach_tmux()
    machines[i].run('rm -rf ~/.near')
    # upload keys, config, genesis
    machines[i].upload(str(get_node_dir(i)),
                       f'/home/{machines[i].username}/.near')
    pbar.update(1)