lose the thread vs talk randomly

lose the thread

verb
  • To get distracted and lose track of something (one's train of thought, a conversation). 

talk randomly

How often have the words lose the thread and talk randomly occurred in a corpus of books? (source: Google Ngram Viewer )