Stopping the killing : how civil wars end