i think this might be better off in the Constructor similar to https://github.com/aerogear/aerogear-js/blob/master/src/data-manager/adapters/memory.js#L94

this doesn't need to return a promise since the close method on the indexedDB adapter is synchronous

also would need to remove the returned promise from the memory adapter