Do not disconnect if config.client is defined.