Handle response even when XHR fails