remove all active XMLHttpRequest

remove all active XMLHttpRequest when create a new xhr.