Avoid deadlock in writer.