socket close update