[FIX] Stopped deleting fd before closing it