Multithread api requests.