Could you outline (in pseudo code) a skeleton that captures your open/close cycle and read pattern(s), e.g., iterations? Without a reliable way for us to reproduce the behavior you are seeing, there’s not much we can do.
(Alternatively, with a support agreement + NDA in place, we’d be happy to look at your code.)
G.