On Exit, wait to completely read the stdout stream.