split listen to setupSync and listen