ensure stderr is flushed to prevent error condition from hanging the entire parent process (Windows)
remove bogus conditional