Close fd is stat fails