Add `pool_size` setting for easier configuration