commands: charon: properly handle database connection drop

when running for a long time mysql drops connection (after 8 hours)
try to catch that exception and to reconnect
kvm: fix bug in report host vm config

rocks report host vm config was filaing when kvm_cpu_pinning=pin_all