Avoid destroy() timeout by closing stdin in TestStart() Upstream-commit: 9e81ab65cb2866fff282681d6159698abcee5635 Component: engine