Update client.go

lets return here before we set success to be true