fixed Client when using the terminable event