Fix unhandled error in command watcher

When releasing licence, a connection erro can occur, in addition general exception is defined
Merge branch 'hotfix/fix_network_exception_commandwatcher'