refactor cleanup proxy xhr reqs