update socket closing