watch for exceptions when setting the proxy