fixes problem where next() was called before shards finished downloading and where db left hanging open
fixes problem where next() was called before shards finished downloading and where db left hanging open

Storj/metadisk-api,Storj/bridge,Storj/metadisk-api,Storj/bridge