Use Python's builtin queues, instead of home brewed one.