Clear messages before receiving new messages