add disconnect handle code
server maintain