Fix init of SyncRouter, add state machine