I think it's because of insecurity. A rather obvious bid for reassurance. A little underhanded warning that this can NOT happen again.
I think you hit the nail on the head here...I find myself doing this same thing too. You're doing just what you can/should do: catching yourself and biting your tongue. No other way around it, beyond Sara's lovely suggestion.