Simple flow control utility for node.js