Connection pool fixes

Looks like the connection pool was accessing the wrong parameter names
There also were not specs around it.

(connection pools fixed multi threaded environment errors for me while using sidekiq.)