504 time-out error after 63 secs

A 504 isn’t a timeout. That would be a 524 or 522.