Add option to specify the max_pool_size for SQL connections

Let's try this again...