refactor ZTK::SSH on_retry
add a warn logger message when the on_retry method is triggered