App crashing after all code is executed succesfully

Sorry, I didn’t include my update code. I already had wait block after which I display the variable all the properties in a ListViewer. As soon as I see only id in the list viewer (all the empty ones just have the property ‘ID’ and nothing else), the wait 1 second block executes and the app crashes.