Delete the proxy on errors