Close connection used to fetch database version.