TW: Fixed issue where recursive calls would end up in different threads from http client and lose the threadlocal apikey.