Hmm.. The NextStream functionality should be matching the SkipNext() funktion of the file interface. So this should really make use of that to check if it should do a RETRY or not Imho. But apart from that it looks alright.