Duplicate layout entries in Page Source

We recently changed our terms of use page to a webview inside the application. When we are running previously operating tests we had begun timing out on handling this page in iOS. Looking at the retrieved page source there are duplicate layout entries for larges swathes of the page (sometimes up to 7x entries). Not everything is duplicated and our Android testing does not show this issue. Reading through the server log several times the request is timing out (does not always align with the number of duplicates) so I am wondering if some of the slowness in the iOS testing infrastructure along with
several requests are causing an issue when retrieving the page source?

Best thoughts or ideas on this are appreciated!