Always close the connection
Merge pull request #15 from palourde/too_many_open_files

Always close the connection