SW-64. Enclose DIO generation in try/except/finally block

Ensures that an exception in DIO handling does not kill scheduling of the
next DIO message.
Merge pull request #30 from kb2ma/develop_SW-64b

SW-64. Enclose DIO generation in try/except/finally block