notes on managing job queue