Shared mutable state and concurrency | Kotlin