no need to inherit SMTask, use ResClient.