Fix Race in LogTail::GetData