fix close(s) undefined
Merge pull request #3 from kuntau/master

fix close(s) undefined