SERVER-10843 Update connpool.cpp

SERVER-10843  libmongoclient memory leak.

I have reconstructed a test.(using the "DBConnectionPool" as a local variable)