clean up the z7-client