Currently, if an FTP connection is established and the file transfer fails then the retry logic on the FTP task will be applied.
However, if the connection itself fails (or times out), the retry logic does not apply.
The retry logic should be applied no matter what the failure (connection failure or transfer failure).