I don't like the name of this function, can we rename it ? `onThreadMessagesRetrieve` or `eachThreadGetFinished` could be fine