An Rcon session runs in a dedicated thread and only waits for data on a blocking socket after the login.
The handler thread only accepts connections on a blocking TCP socket and starts new sessions in another thread, if the address of the client is not blocked by the server.