XHR: Make sure internal XHR object still exists, before trying to destroy it.