net: caif: add proper error handling