added limit on how long client pool can be exhausted
added limit on how long client pool can be exhausted