Thread pool: rename `capacity` to `queue_size`
fixes #3161