add status check to set_paused_state