GDBusWorker: combine num_writes_pending with flush_pending