Refactoring disconnect to kill the printer when the serial port starts erroring.