fix save bug,add rapi stuck relay check,reset->restart