Introduce queue and move several client methods to it.