Handle case when unable to connect to server

S will not be defined, but is expected to be defined by connectionIssue. Fixes #144