Do not close the connection when fd is stdin