Clean up xhr.