use _db pattern to close db on createObjectStore and deleteObjectStore