Make maximum pool size configurable.