Catch exceptions thrown by periodic calls.
Catch exceptions thrown by periodic calls.

It may happen that periodic commands throw exceptions.

This patch makes sure they are caught. Unfortunately, there is no easy
way to provide a programmatic feedback on this so for now, we just
print them on stderr.

stack-of-tasks/sot-core,stack-of-tasks/sot-core,stack-of-tasks/sot-core