When the patroni node down, patroni cluster api may not responding tcp RST, while leaving the http request hanging. Setting a custom timeout parameter would be ok for this case. https://github.com/ozontech/pg_doorman/blob/a8e3064f27020ec7f260a0e7fcfdddb862da4119/src/bin/patroni_proxy/patroni.rs#L8