host: Avoid double closing stdin fd

Signed-off-by: Lewis Marshall <lewis@lmars.net>