oops
refactor: extract stop_syncer function