zg Called when the serial port is closed or the reader loop terminated otherwise. N)