coap-sensornode: return 5.00 internal server error if sensor reading fails