Assume that $r$ is not upper semi-continuous at $a$. Then we can find a sequence $\{a_n\}\subset A$ converging to $a$ such that $\limsup_{n\to +\infty}r(a_n)>r(a)$. Hence there exists a $\delta>0$ and a subsequence $\{b_k\}$ of $\{a_n\}$ such that $r(b_k)\geq r(a)+2\delta$. So for each $k$, let $\lambda_k$ in the spectrum of $b_k$ such that $|\lambda_k|\geq r(a)+\delta$. As $\{b_k\}$ is bounded, the sequence $\{\lambda_k\}$ of complex numbers is bounded. So we extract a converging subsequence (but we will denote it in the same way for simple).
Then $\{b_k-\lambda_k e\}$ is not invertible and converges to $a-\lambda e$. It's not invertible, as the set of invertible elements of $A$ is open. So $\lambda\in \sigma(a)$. But $|\lambda|\geq r(a)+\delta$, a contradiction.