If a source closes the connection on you it will be logged as:
Closed connection to ###
Job ### ended prematurely
Right now there doesn't seem to be any limit on the retry policy. The retry will happen instantly and if the connection is closed 1 billion times, it will result in 1 billion new connection attempts.
This seems extreme. Perhaps something more reasonable would be 10 instantaneous retries and then go into an exponential backoff strategy.
From google:
An exponential backoff retry policy is a technique that increases the wait time between retry attempts exponentially until a maximum number of retries is reached. It's a more sophisticated strategy than constant retries, which can strain a service or network