Added code to detect broken pipes when checking for connectedness.
Added code to detect broken pipes when checking for connectedness.

digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch