Network requests on a separate thread/process

I have a fairly complex GUI app. So far so good and I am happy with the result. One main issue I have is, during the data fetch from a server, if for some reason user wants to change a scene(going to different screen), I couldn’t find a way to cancel data requests.

Is there a way I could separate the network requests and normal screen rendering to get a good responsive GUI?

I am trying to create a coroutine that handles all the async network calls and caller mode screen updates. But this pattern makes the app development really complex and there is no real way to cancel unwanted network requests in between. Also, it is not really responsive as I intend to be.

thanks [import]uid: 7499 topic_id: 24211 reply_id: 324211[/import]