add disconnect sample