ignore 502 errors as well as 504 on long poll