fix long stdout line read issue

If stdout text is so long, forego process will hang.
Fix long stdout line read issue.