Code modification:
1.TokenizerClient, add error condition