Limit write queue size