Avoid destroy() timeout by closing stdin in TestStart()