send 503 status code when database error occurred