Have you tried disabling all add-ons [#2 on Troubleshooting - Anki Manual] to determine whether the error is coming from Anki itself? Anki runs media sync in the background, but otherwise it shouldn’t be trying to intermittently sync. And I’ve never had issues using it offline.
Unless Mac and Windows get different errors, the error message when Anki tries to sync and cannot is slightly different.