renaming do_shutdown() -> do_state_change()