New pw_rrd_flush callback for jsonrpc