fixed early client close