added retry for 504/503 error, lengthened cron to 5min