fix(requests): fix possible race and appease race detector