orderQueue.js: reduced the number of database calls after status updates
to increase responsiveness.