Refactor node.process when there is no local service