base: Limit work queue size.