Specify maxsize to QueueTask.queue

This can be used as a way to "throttle" throughput. Producers can either
block put on the queue (and pass the backpressure upstream) or
put_nowait and handle the backpressure some other way.