Ensure publisher and subscriber use unique clientId (e.g. deviceId + timestamp). Avoid using only topic + deviceId for both sides.