(#1957) - properly stop alldocs stream in leveldb