Woops, close the right fd
Trim dead bits of code