Fix resizing races for the QueuePool