Add max_pool_size and min_pool_size (#bnc 907669)

Make max_pool_size and min_pool_size configurable to avoid
TimeoutError: QueuePool limit exception
I would like to have a sensible default in our product.