refactor(socket) getExec