PTFM-7185 Java bindings retry truncated streaming API calls.