Expiration of database handles closes connections; if those throw any unusual exceptions, database handles could be lost from the pool.  Part of CONNECTORS-638.

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