cli: refactored re-connecting part after reload/restart to void errors and hangs
cli: don't ignore interruptions while pausing before reconnecting
[AS7-6680] Remove unused variables from scripts.
Upgrade Weld to 1.1.11.Final