refactor remote_node and executor
fixed the multi-thread bug in the executor engine, but the current solution
may increase the system overhead