Add status===0 in request to allow offline use of xhr