Avoid trying to talk TLS over a known-closed channel