Test checkin after multiple checkouts
Test checkin after multiple checkouts

The local thread records how many times a connection has been checked
out so it can be returned to the pool when all have been checked in.

mperham/connection_pool,ttasanen/connection_pool,ferdinandrosario/connection_pool,askl56/connection_pool