fix fail when healthy app becomes unhealthy again during replacement phase