Issue with ClientN class, How to write to it and use the .ready method
in the while loop.