When a connection between a sudo client and policy server is broken mid-flight, the sudo session will hang and eventually terminate. The keystroke logs will only include data up to the point of disconnection, and the corresponding event logs will show exit status of "unfinished" or "Command unfinished no exit status". There is no failover for mid-flight disconnects.
If the sudo plugin (a.k.a. client) is unable to initiate a connection with any of the available policy servers, the sudo request is evaluated offline (i.e. locally, on the sudo plugin host) using a cached copy of the QPM4Sudo policy. The logs are collected locally then updated to the policy server when the connection is re-established.