discover: Don't free clients on write failure