Fixed close
Merge pull request #9 from godel9/patch-1

Fixed close