Is it possible somehow with Kotlin coroutines to do a behaviour like:
a request(r1) comes to server, this request is handled in a thread from thread pool,
server does some work in that thread, after this server make a request to remote server, at this moment this thread should be returned to thread pool to handle another request(r2),
after remote server returned a response, request(r1) should continue work from moment when was made a remote request