SshChannelOpenOperation.cancel

void cancel()

Cancels the attempt; if the channel was already confirmed, it is closed instead.