Fix incorrect close statement
Merge pull request #11 from xcompass/master

Fix incorrect close statement