Rio braces for Olympic terrorist threats