add proper retry logic and connection handling for these transient database disconnections
add proper retry logic and connection handling for these transient database disconnections