repaired client shutdown