restart when send_msg_return_error_code