Include server error in error message on failure.
Set batch query size to avoid server timeout.