Close serial port on error