SSH / SFTP hangs forever

What version of Duplicati are you using?

There appears to be an issue in some more recent versions where even a short loss in connectivity to the destination DURING a file transfer can cause Duplicati to end up waiting forever for the interrupted transfer to finish.

I don’t know that the underlying cause or a fix has been put in for this yet so your task killing schedule might be the best workaround available at this time.