examples/ntb: add return code checks