Corrected get_serial_number call & added close().
Merge pull request #125 from TheQwerty/patch-2

Corrected get_serial_number call & added close().