1.0dev.7: fix deadlock in stdout writer