I can think of two things. Install a ctrl-c handler so that you make sure the transaction is finished correctly. Or two, batch the transaction into smaller groups to minimize loss.
I can think of two things. Install a ctrl-c handler so that you make sure the transaction is finished correctly. Or two, batch the transaction into smaller groups to minimize loss.