node.js serial async flow control