Subscription wrapper around IndexedDb