This method should break ties in a distributed way. Perhaps just applying ```random.shuffle``` to the worker queues before iterating over them would suffice?