[streaming] Enhanced BufferTimeout functionality for StreamRecordWriter