Workaround Icarus UART failures by reopening the tty every scanhash ngzhang says the USB-UART chip isn't stable on some computers, and I'm experiencing some weirdness myself. This workaround seems to fix it (tested for over 48 hours, whereas failure is usually in well under 5 hours).