unregister XMPP handlers when freeing VM from the VM itself