Make StreamRedirector try to exhaust itself before exiting

The StreamRedirector would kill itself very eagerly. This meant that
useful context was often lost. Change StreamRedirector to continue
printing until it would need to pause to get more data.

Test: Modify a test to timeout and run
Test: ./art/tools/run-libjdwp-tests.sh --mode=host

Bug: 69243589
Change-Id: I083983501fa49828b29009918e1de89732b41710
1 file changed