close file descriptor
Merge pull request #3 from ouaibsky/patch-3

close file descriptor