Nodejs: Serial Flow Control