Allow applications to override the behavior in case of expired messages.