Closing IndexedDb + version upgrade