Fix client can not exit on call stop method