onDisconnected

fun onDisconnected(listener: (Throwable?) -> Unit)