Implemented condition on proxy_restart_on_error