Properly separate write and read buffers.