client expose disconnect event