set persistent_state to failed if network failed
adjust persistent failed messages