Making queue.js more stable.