timeout

fun timeout(time: TimeSpan, callback: () -> Unit = {}): Closeable