prevent connection leakage: always free domain and close connection using aruby closure
replace magic values by Libvirt::Domain constants