Fixed threading issue in async requests.