Added support for auto-restart of the arduino from the raspberry