client close check
fixes from tck