I am getting an image from a request and it takes around 6 seconds and in that time I want to do something else in the code. I tried using threads and async but failed as I