memory.js - restore process.nextTick

maintains compatibility with express 3.x