Fix concurrent issues in RemoteViaSocket executor

use actor to fix it