Truncate messages which are too long