Close the serial port when the application closes.
Merge pull request #1 from tdicola/serial_close

Close the serial port when the application closes.