Do you mean the Incremental Sync won't complete or Initial sync won't complete in an IMAP migration?
When the IMAP migration users are Synced (initial sync is done), you would change the MX record to point to the cloud and emails will be getting delivered to the cloud mailbox. As long as you have a sync request going (get-syncrequest -mailbox <user>), this will sync every 24h the newest emails (incremental sync) and you can check last successful sync timestamp on the sync request and the cloud mailbox contents to see if changes are synced. You would delete the batch when all emails are getting delivered to O365 mailboxes and there are no more recent emails that should be synced to cloud during incremental sync (typically 72h after you changed MX, as per
https://docs.microsoft.com/en-gb/office365/enterprise/powershell/use-powershell-to-perform-an-imap-migration-to-office-365?redirectedfrom=MSDN#step-5-route-your-email-to-office-365