prevent hung callers on lost libvirtd connection

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
reworked exceptions

Signed-off-by: Jan Dvořák <mordae@anilinux.org>