dbus_client: make duration configurable