Replace non-existing os.exit call.
Merge pull request #9 from rogererens/patch-3

Replace non-existing os.exit call.