close now properly deletes fd.