process: fix domain nextTick regression

Fix for GH-4856