Optimize the HHClientDemo