fix for domain failed reconnect after disconnect
Merge pull request #3957 from birarda/master

fix for domain failed reconnect after disconnect