Among cardiothoracic surgery patients with or at risk for respiratory failure , the use of high-flow nasal oxygen therapy compared with intermittent BiPAP did not result in a worse rate of treatment failure .