Used Queues instead of Pool to avoid method pickling.