Fixes a bug where they would be run *after* startSync had been called, and expiring the sessions stopped the sync.