Update 3.1.2

* Add timeout for reboot commands
* Fix firmware download links