Refactor timeout messages.