trying to find a reasonable structure for the requests, and avoiding returning anything to the main thread until the full request have completed