add disconnect event , connect event