Changing the topic; 'by the way', 'speaking of which'.
Long explanation:
The grammar point A それはそうと B is used to change the topic or bring up a new subject in a conversation. It can be translated as 'by the way' or 'speaking of which' in English. It's used to connect two unrelated sentences or ideas, with A being the original topic and B being the new topic brought up.