Instead of breaking when we receive a batch ending with the same message, check if a batch doesn't contain any new message. Also, if a batch doesn't contain any messages, break the processing.
https://linear.app/comm/issue/ENG-11427/user-unable-to-sync-dcs