Handle case when unable to connect to server

S will not be defined, but is expected to be defined by
connectionIssue.
Merge pull request #155 from ianshward/unable-to-connect-error

Handle case when unable to connect to server
document lifetime number
Merge pull request #156 from ded/master

document lifetime number