remove client on close