add client shutdown