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

fix #109
@xiangli-cmu