added exception handling and reconnection logic.  For Master

https://jira.oceanobservatories.org/tasks/browse/OOIION-1324