Detect serial device disconnect on linux while polling and stop poling to prevent infinite loop
Merge pull request #393 from sweetpi/detect-disconnect-linux-patch

Detect serial device disconnect on linux while polling