fixed deadlock of reqrep with large amount of stdout from yorick