Kotlin : DOS attack possible