Actually set client to null to avoid infinite loop in SendRequests when connection to ZK fails.
Fix cleanup error.