Fix downstream sync. Refine set_status as finite-state-machine.