RPi agents: wrapped sensor communication into try/except