Move SyncStatus initialization outside of try/except.