Run two threads for getting api response and put results