Geopackage: close connections.
Merge pull request #842 from NielsCharlier/master

Geopackage: close connections.