Threading implemented in the Client mode.