perform host failover on HTTP 504 errors