Try turning off directory syncing via PowerShell for all cloud users before disconnecting Azure AD Connect:
Set-MsolDirSyncEnabled -EnableDirSync $false
Note:
If you use this command, you must wait 72 hours before you can turn directory synchronization back on.
----------------------------------------------
If this is helpful please accept answer.