Improve use of async.nextTick()