Fix memory leak in EchoClientHandler