Fix File Descriptor close