add more elaborate connection checking

check for more atributes of the irods connection that
can indicate an error. since I couldn't find any documentation,
the bhaviour I am checking for is guessed.