Fix for bug in client's tolerance to server outages. Introduced while refactoring client error handling logic. That's what you get for not writing tests, which we have now done.
Removing unnecessary code
Database unavailable returns 503 and client will retry