mqtt: drop duplicate messages