Common Thread behavior for Node (using Child Process) or the Browser (using Web Workers)