Properly clean up DAO connections.
Merge branch 'master' of https://github.com/QBRC/CasHmac