Accurate sleeping for producer

* The producer sleeps for a more accurate amount of time.

* Reverted create_queue()s to get_queue()s

* worker PEP8 cleanup