added limits to pending put! and take! queues