ICCUS-19 - xmlToCode.sh should return zero on success
ICA-105 Add status check when the endSession is called on the
ControllableDevice