Added timeout on reads from serial port.  Patch provided by R. Murphy