https://queues.pythonprogramminghelp.com/3-sure-fire-formulas-that-work-with-concurrency/