Corrected get_serial_number call & added close().