supress mysql error when no sent messages exists