Sometimes, the proxy does not work, and I want to change it based on the error. Is there any way to do that?