Realize restart function in network mode