[#2356] disconnect the connection

This is the rule

test {
        remote("resource.example.org","") {
                remote("icat.example.org", "") {
                        writeLine("stdout", "stdout");
                }
        }
}
input null
output null

It gives your the error on icat host log.