Fix ListDomains
Male CloseConnection return the actual result
amend CloseConnection test for new signature