libubus: fix synchronous ubus_notify without waiting for a timeout