limit queue size