tryWithAttempts

open suspend fun tryWithAttempts(attempts: Int = 3, delay: Long = 5000, block: suspend () -> Unit)