Added catching of std-except to some basic demonstratos
This is to avoid coredumps on typical situations like the connection can't be made. Closes OPCUA-2249
This is to avoid coredumps on typical situations like the connection can't be made. Closes OPCUA-2249