fixed lost connection retry logic
Merge pull request #1726 from wfrench/dsa_lost_connection

Fix Dataset Agent Lost Connection Logic OOIION-1734