Added method to close the file descriptor.
Merge pull request #9 from jmstriegel/patch-1

Added method to close the file descriptor.