task processor(queue, race, etc) for node.js