fix client close set free bug, remove mutex