Retry connecting to warden stdout/stderr sockets every second for up to a day

[#53093147]