dbus: fix the hang dbus_shutdown() hang when dbus is not active