added close client