Reconnection to streaming API

What is the reconnection recommended reconnection time when the streaming endpoints disconnect? I have noticed in the last couple of months that I keep getting 502 and 503 responses before I get a 200. Ultimately this should not be an issue since I try to reconnect using the last timepoint of the endpoint until I get a 200 response.

Some context: The reconnection(s) are after the daily disconnection / reset by the streaming endpoints. Previously, the reconnection succeeded (with a 200) immediately (I have a 500ms sleep). A case in mind is a disconnection at 08:02:04 and after 5 failed attempts to reconnect returning 503 and 502 responses, the endpoint finally reconnects with a 200 at 08:02:45

So the question is, has there been a change to the reconnection time? If so, what is the minimum wait before attempting to reconnect from the daily reset? From the above example it looks like 40 seconds; is that correct?

I’ve also noticed this. I used to have a 60 second re-connection time, but started getting occasional bad responses (mostly “Unauthorized” weirdly). So I increased my sleep gap to 10 minutes, and haven’t had any rejections since.
Might sound excessive, but 10 minutes at 2AM is hardly a busy time for filings, and using last timepoint I ensure I don’t miss any.