communicators/ssh: handle closed connection without exception