terminate

fun terminate(timeout: Duration = InfiniteDuration): Boolean