Fix wrong variable used for proxy running state