update socket close lock bug