o Added a check when a connection is pulled from the pool of connections. If the connection is not anymore valid, we will create a new connection.
o Added a test for the connection pool

git-svn-id: https://svn.apache.org/repos/asf/directory/shared/trunk@1477172 13f79535-47bb-0310-9956-ffa450edef68