add closeclient