Rather than your suggested solution could you just queue up messages until the server recovers? Assuming that you can catch the error (you should be able to use a Catch node) then the solution in this thread might solve the problem without a major restructring of your system. How to queue / hold the sensor values ,when there is a internet failure occurs
As a matter of interest, why have you got multiple influx nodes?