Adds Exception handling on arduino ctrl