Pass all output through client to synchronize it.
Fixes issue with script commands getting output before the text they
were matched against did. This may have been unrelated because there was
also a buffer issue.