simulateClosed

fun simulateClosed(exitCode: Int? = null)

Simulates remote transport closure.