fix intermittent failure due to early and improper exit of ring manager