Text this: How insurgencies end