elizarov
while (true) { val request = input.readLine() ?: break // here request is not null !! }
in
input