Python queues with support to mean waiting time