retryOnException

fun <T> retryOnException(count: Int, sleep: Int = 10, fn: () -> T): T