Add a time-out option
Add a time-out option (-t minutes) after which the open iRODS object will be closed and then reopened again. The write (or read) will then continue from where it left off.
This is an attempt to work around an iRODS socket/pipe failure that we have observed in some of the longer running (an hour or more) write operations.