add an explicit close to eh stop client