adding finalize to see if it closes the serial port