use nextTick with context in batcher