communicators/ssh: only show warnings after a few attempts [GH-3442]