Use better error messages when a cluster is unavailable
Fix comments
Index out of bounds
Add a test to check repoening connections after an error