Windows: Stop returning errors that should be ignored while closing stdin Upstream-commit: 2ee6032c8887775d7aca5de8889374cb31a1e017 Component: engine