Add arduino name to log messages and improve timeout exception handling