Removing client when sockets get closed