If you are on Linux, could you also try setting /proc/sys/net/ipv4/tcp_retries2
to 6
:
echo 6 | sudo tee /proc/sys/net/ipv4/tcp_retries2
This is in addition to having transport.ping_schedule: 5s
. I wrote some more details on the Github ticket.