stop the proxy if something bad happens