Sync in the background
Currently the way manual bulk sync works is when the sync button is clicked, it shows a progress bar and does a frontend on page sync. This also means the user cannot navigate away from the page or close the tab on the browser otherwise the sync will terminate.
Instead, perhaps we could schedule a cron job when the sync button is clicked. An email will still be sent to the user when syncing is completed.