The solution is to have actual dedicated server files like every steam game
That way the dedicated server never uses steam in the 1st place but only streams to the steam server via their server browser IP. So when steam fails, the only thing that happens is your server doesn't show up on the list for those few seconds, and doesn't get disconnected in the 1st place.