- don't skip ask_new_streams() if new metadata _and_
new streams are available.
- goto retry after getting new streams.
- Add missing "ret = 0" assignment at the end of the function. Takes
care of "possible use of uninitialized variables" warnings in the
caller given by gcc.