title: is it a good practice to close file descriptors on exit
body: <p>If for some reason, I discover a fatal situation in my program, and I would like to exit with an error code.
  Sometimes, the context of the fatal error is outside the scope of other file-descriptors.
  is it a good practice to close these file descriptors.
  As far as I know, these files are automatically closed when the process dies.</p>