Clarify the check whether the ssh connection closed.
Clarify the check whether the ssh connection closed.

This change revises the ssh_connection_has_closed method to be better
documented and easier to follow.

m-lab/collectd-mlab,m-lab/collectd-mlab,stephen-soltesz/collectd-mlab,stephen-soltesz/collectd-mlab