Improvements to kraken retry handler
Improvements to kraken retry handler

Fixed the 520 code
Added 504 and 502 as these also happen with Kraken's recent issues (and are retryable)
BarnumD/gekko,BarnumD/gekko,BarnumD/gekko,askmike/gekko,askmike/gekko,askmike/gekko