Modified fix for stderr not draining on Windows

Breaking the loop works while the original return call does not. Not sure why, but my decidedly unscientific tests appear to indicate Windows is happy with the change.