Give a more appropriate status code for content api timeouts.

I think 504 is the right thing here