ScpSend.cancel

void cancel()

Cancels caller interest in this transfer. Terminal: the operation fails with a cancellation error and the caller closes the channel.