the opened fd will always be 3 in the child