Extracted dup in throwErrorIfServerDown() method