Created a DB connection proxy so that the connection can be auto-closed after an Exec() or a Query().