Fixed endless loop when serial port cannot be opened.
Merge branch 'master' of https://github.com/jgobuyan/bootloader