More errors in CConnecor handled. Now figures out when there is nothing
to connect to, and when connection is already closed. Deleted redundant
Junit Test