Add support for setting parallel pool_size