(issue #20483) retry command execution after re-connecting to hosts
(maint)  removing dead code