close client connection on stop