This seems unnecessary. The client closed the socket, so it is not able to use it as a keep alive one.