client close isn't working