libhal_ctx_shutdown(hal_ctx, &error);
libhal_ctx_free(hal_ctx);
dbus_connection_disconnect(conn);
dbus_connection_unref(conn);
dbus_error_free(&error);